deletion of /dev files
R Kimber
rkimber at ntlworld.com
Sat Jan 14 21:36:23 UTC 2006
On Sat, 14 Jan 2006 13:44:38 -0500
Phillip Susi <psusi at cfl.rr.com> wrote:
> R Kimber wrote:
>
> >>Well, you probably don't want it to be in fstab, anyway.
> >>
> >>
> >
> >So, how do I know how to refer to it in a script so that I can mount
> >it and unmount it?
> >
> >
> >
> With it's /dev name of course. Which should not go away unless you
> unplug the drive.
But how do I tell it that its an ext2 system and not fat ? Not having
an entry in fstab, it seems to expect fat, and if I try to mount it it
says
mount: wrong fs type, bad option, bad superblock on /dev/sda4,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
and dmesg says
[ 345.801075] FAT: bogus number of reserved sectors
[ 345.801085] VFS: Can't find a valid FAT filesystem on dev sda4
- Richard
--
Richard Kimber
http://www.psr.keele.ac.uk/
More information about the ubuntu-users
mailing list