[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: gnome-disk-utility User Session Defaults issue



On 2020-05-08, Cindy Sue Causey (butterflybytes@gmail.com) wrote:

> My question is: Is that the only hard drive with partitions named like
> that? Just ruling out that maybe there's some kind of conflict if two
> hard drives have the same layout..

Cindy, there is only one drive in the computer, /dev/sda. Any other
drives would be removable usb external drives or usb thumb drives.
And no other drive I have would have the same layout.

> It seems odd that it deletes and doesn't SOMEHOW replace something in
> fstab that is how we boot our systems. If it's going to DELETE
> something because it sees a conflict a user does not, it needs to
> likewise intelligently guarantee that a system has something else in
> place to follow through on the very next reboot....

I agree!

--------------------------------------

On 2020-05-08, Tixy (tixy@yxit.co.uk) wrote:

> 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, just a note: for many years, when installing Debian, using the
Debian installer, I have been setting:
/ as label for /dev/sda1
swap as label for the /dev/sda5
/home as label for /dev/sda6

In the past, I have instead used three primary partitions:
/ as label for /dev/sda1
swap as label for the /dev/sda2
/home as label for /dev/sda3

Either way has always worked fine, and did work fine on my current
setup until two days ago.

-------------------------------------

On 2020-05-08, David Wright (deblis@lionunicorn.co.uk) wrote:

> But I'm surprised: which partitioner did you use, and which installer?

David, I Originally installed Debian as Stable using the Debian 9
netinst installer, a day or two before the initial Debian 10 release.
What timing. I used the partitioner built into the Debian installer.
I have not changed the partitioning since.  After installation, I
immediately upgraded to Unstable and have been running Unstable since
then.

> So it would be sensible to change them to something sane. I never
> stray beyond ASCII alphanumerics, though windows uses _ as well.

Well, if I must change the labels to "something sane", how about:
/dev/sda1 as ROOTPART
/dev/sda2 as [not labeled]
/dev/sda5 as SWAPPART
/dev/sda6 as HOMEPART

> # e2label for partitions 1 and 6,
> # swaplabel for 5.

I am not conversant with either e2label or swaplabel.  I will have to
check those out tomorrow.

Anyway, are labels even needed anymore?  These days everyone and
everything wants to use UUID numbers for partitions, to the seeming
exclusion of all else.

> You might end up having to post to Gnome lists, so having them changed
> may save embarrassment.

Could you please suggest an appropriate Gnome "mailing list"?

I wrote (today):

> 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?

> > No, I wouldn't do that. I'm not sure which files you think are
> > incorrect, but these files should be left to be kept up-to-date
> > by the OS, below the level of Gnome.

: (


Reply to: