[PLUG] Hard drive boot assignment

Johnathan Mantey manteyjg at gmail.com
Sat Sep 12 02:37:28 UTC 2020


My first reaction would be to use udev rules.
I've done this to assign USB UART devices specific /dev/xxxxxxx names.
This would allow you to create a link from /dev/ttyUSB0 ->
/dev/myCoolUSBItem

I suggest searching for udevadm and udev rules to translate /dev/sdb(x) to
/dev/myBackupDrive.

On Fri, Sep 11, 2020 at 5:13 PM John Jason Jordan <johnxj at gmx.com> wrote:

> On Fri, 11 Sep 2020 16:14:27 -0700
> Keith Lofstrom <keithl at kl-ic.com> dijo:
>
> >I fear that my naive trust-to-luck works-like-the-past
> >assumptions are too naive.
> >
> >I hope that someone on the list can suggest an approach that
> >Just Works With Slightly More Preparation and Knowledge.
>
> Several years ago I discovered the option of giving a partition a label
> (with GParted) and then specifying it as such in /etc/fstab, rather
> than using UUIDs. For example, this line in fstab mounts an external USB
> device:
>
> LABEL=Movies /media/jjj/Movies auto nosuid,nodev,nofail,x-gvfs-show 0 0
>
> Where I used GParted to give the device the label 'Movies.' An added
> benefit is that my English-aware human brain can easily identify the
> device, which is not true if I had identified the device by UUID.
>
> The disadvantage of using labels is that you will have a mess if you
> try to mount two devices with the same label on the same filesystem.
> Always be sure that your labels are unique.
> _______________________________________________
> PLUG: https://pdxlinux.org
> PLUG mailing list
> PLUG at pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>



More information about the PLUG mailing list