[Gllug] Yet more problems with an external disk drive
Richard Jones
rich at annexia.org
Sun Apr 20 20:33:12 UTC 2008
On Sun, Apr 20, 2008 at 03:48:20PM +0100, John G Walker wrote:
> I use fstab to define the permissions on an external drive, in order to
> be able to use the drive to store backups.
>
> In the past, the drive has been identified as both device sdb1 and sdf1
> (though not, of course, simultaneously), and so I've provided entries
> in fstab for both these, and it's worked so far. Well at least until
> yesterday.
Is the drive ext2/3 formatted? If so you should be able to label it
while it is mounted ('e2label /dev/sdd1 backup') then use the label in
the fstab:
LABEL=backup /mnt/backup ext3 defaults 1 2
According to the fstab manpage XFS also supports these sorts of
labels, but AFAIK not things like FAT.
Rich.
--
Richard Jones
Red Hat
--
Gllug mailing list - Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug
More information about the GLLUG
mailing list