[Gllug] Debian file system
Pete Ryland
pdr at createservices.com
Tue May 4 14:36:16 UTC 2004
On Mon, May 03, 2004 at 09:00:49PM +0100, Dan Kolb wrote:
> NorthLondon John wrote:
>
> >The last hardware problem I have is with the cdrom. This is acessible by
> >root, but not by any users. It's not a permissions problem - the error I
> >get when trying, eg, to play an audio cd, is:
> >
> >mount: wrong fs type, bad option, bad superblock on dev/hdc,
> >or too many mounted file systems
>
> If you're playing an audio CD, you shouldn't be mounting it. You'll need
> the appropriate CD playing software. Audio CDs don't have a file system
> on them, hence the 'bad superblock' on it. Can you mount a data CD as a
> user? If not, you may need to put the option 'user' in the appropriate
> place in the fstab file (so the CD options should look like: 'noauto,user').
That's not necessary - Debian has the "cdrom" group which contains the users
that have access to the cdrom device.
> >In the course of looking into this, I found some oddities with the
> >filesystem:
> >1: /dev/hdc has two entries in the fstab - /cdrom and /media/cdrom
> >
> >2: fstab has swap on /dev/hda5 - 165mb according to system monitor;
> >kdiskfree doesn't show this, but has tmpfs mounted at /dev/shm (size:
> >30.4mb, free 30.4mb, Full% 0.0%). What is tmpfs? Is it equivalent to
> >swap? Why don't the numbers add up?
>
> Swap partitions aren't actually mounted to any point on the file system,
> hence kdiskfree doesn't show it (neither will df).
The 'free' command, however, will show swap usage, as will 'top'.
Pete
--
Gllug mailing list - Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug
More information about the GLLUG
mailing list