Martin Gregorie writes:
> Have you used the option of mounting an HDD partition via the Label?
>
> The mount manpage says that this is now the preferred way of mounting a
> partition.
>
> I've recently started doing this for USB-attached HDDs that I use for
> holding offline backups, i.e. using mount's -L LABEL option, and find
> that it works really well.
>
> However, I usually run "fsck -p" against the backup immediately after
> unmounting it and here's where I've hit a snag: neither fsck nor fsck.ext4
> support use of a label to identify the partition to be fscked.
fsck’s man page says it supports labels:
fsck is used to check and optionally repair one or more Linux
filesys‐
tems. filesys can be a device name (e.g. /dev/hdc1, /dev/sdb2), a
mount point (e.g. /, /usr, /home), or an ext2 label or UUID specifier
(e.g. UUID=8868abf6-88c5-4a83-98b8-bfc24057f7bd or LABEL=root).
Nor‐
mally, the fsck program will try to handle filesystems on different
physical disk drives in parallel to reduce the total amount of time
needed to check all of them.
Does it not work?
--
https://www.greenend.org.uk/rjk/
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|