On Fri, May 8, 2020, 12:34 Tixy <t...@yxit.co.uk> wrote:

> On Fri, 2020-05-08 at 09:59 -0400, Default User wrote:
> > Hi David.
> >
> > Yes, I made the labels for the  partitions during the original
> > installation:
> >
> > /dev/sda1 = /  (primary partition)
> > /dev/sda2 =     (extended partition)
> > /dev/sda5 = swap (logical partition)
> > /dev/sda6 = /home (logical partition)
> >
> > So /dev/sda2 has no label, as it is just an extended partition, which
> > "holds" logical partitions:
> > /dev/sda5
> > /dev/sda6
>
> It strikes me that using '/' in a label might cause problems. E.g.
> something (kernel? udev?) makes disks appear under /dev/disk/by-label/
> where each entry is the label name. If that label contains a '/' then
> it can't appear there, or if it does, it will have a mangled name to
> remove the '/'.
>
> --
> Tixy
>



Question to all:

Maybe I am getting ahead of myself, but I wonder - what would happen if I
just either deleted the entire /dev/disk directory, or at least some
part(s) of it.

After all, it just seems to be full of various zero-byte files.  Would the
/dev/disk directory just rebuild itself upon reboot, hopefully with
"correct" files?

Reply via email to