symlink persist follow-up
Keith
keithw at caramail.com
Fri Sep 29 14:37:56 UTC 2023
On 9/27/23 12:10 AM, Grizzly via ubuntu-users wrote:
> Tuesday, September 26, 2023 at 17:10, Keith wrote:
> Re: symlink persist follow-up (at least in part)
>
>> On 9/26/23 1:19 AM, Grizzly via ubuntu-users wrote:
>>> Sunday, September 24, 2023 at 14:16, Keith wrote:
>>> Re: symlink persist follow-up (at least in part)
>
>>> Maybe should have stopped there but ...
>>> took a while to get it working (made a copy of fstab to fall back to) in the
>>> end I found that "errors-remount-ro" should have been "errors=remount-ro"
>>> every time I tried it dropped me to a new (to me anyway) Emergency mode consol,
>>> like recovery but with history? it could just be 23.10 is more delicate to this
>>> stuff
>
>> Oh geez, I'm sorry about that. Made the mistake while trying to get the
>> line to format correctly and not auto-wrap.
>
>> It does seem like it should be a little more forgiving. Ordinarily I
>> would have thought it would just ignore it as an invalid option and move on.
>
>>> I have it running BUT no drive icons on launcher, compared to 22.04 the fstab
>>> is much the same (just UUID difs) 22.04 shows drives on launcher, I can get
>>> them 2if" I use disks that add the gvfs stuff and loses the comments
>
>>> thanks for patience
>
>> Yeah, the 22.04 volume should be mounted and its contents available
>> under /mnt/jammy, but I guess gnome needs the x-gvfs stuff in /etc/fstab
>> to make the volumes shown/hidden to gvfs aware applications like
>> nautilus, the dock and the like.
>
> is it still gnome on Unity? (also see my other post re Mate files in Unity?)
Unity still uses a lot of gnome technology under the hood, if I'm
understanding your question correctly. Unity-control-center is just fork
of gnome-control-center, unity-session is likely a fork of
gnome-session, etc. If you check the dependencies of unity related
packages, you'll see they require a lot of gnome based packages to be
installed in order for them to work properly.
I don't know what's going on with Mate packages being installed, though.
I'd check /var/log/apt/history.log* for clues.
>
>> I'm a wee surprised the mounted 22.04 volume didn't show up in nautilus.
>> On my machine the root / and win10 ntfs volumes do appear in the "Other
>> locations" section, but not on the dock. Neither of them has x-gvfs
>> options listed in their /etc/fstab entries, though. Ah well.
>
>> So, hopefully it's all working now?
>
> I have not got the x-gvfs stuff (yet) I wondered as they did show before the
> move from /Media/User_Name/Drive to /mnt/Drive_Name, is there somewhere else I
> should change, I've done the change to
> winecfg not that that effects launcher,
> unlink(ed) the old symlink
> ln(ed) symlink with the new path,
> edit .config/user-dirs.dirs to reflect new path
You can add "x-gvfs-show" as a mount option on the 22.04 volume line in
the 23.10 /etc/fstab to have the volume show up in nautilus and
presumably as a volume icon on the dock. You can add the other options
that gnome-disks also adds like rw, noexec, nodev, nosuid, nofail,
noatime if you feel you need them. Options like limiting access to only
your userid while the 22.04 volume is mounted in 23.10 is also possible,
but isn't really necessary if you're the sole user logged on when the
system is in use. Read up on mount(8) to get more details.
--
Keith
More information about the ubuntu-users
mailing list