Share some ./home dirs between version
Ralf Mardorf
kde.lists at yahoo.com
Thu Sep 21 09:59:24 UTC 2023
On Thu, 2023-09-21 at 08:56 +0100, Grizzly wrote:
> $ ls -l
> shows all the $Home dirs but Pictures (plus another "non-Special" dir)
> are red, with the full path displayed
Hi,
when using the regular ls command, it doesn't show if a link is a
dangling link or not, whatever colour schema you are using. When not
using a ls replacement, then you need to run
$ ls -ld Pictures
This way a dangling link results in "No such file or directory".
In the days when I was using Claws Mail and 16.04 I linked the Claws
Mail related files, to share them between 16.04 and Linux. Since I'm not
using desktop environments, but just window managers and I also don't
run gvfs my installs are probably less pron to issues related to
XDG/freedesktop.org. However, I suspect the only special folder is
Trash, since it is not provided when running thunar, nautilus, nemo or
caja without gvfs, but you can still access it by it's path
~/.local/share/Trash/. I suspect that folder paths in
~/.config/user-dirs.dirs, related to Pictures or Downloads etc. aren't
that "special", but I might be mistaken.
• rocketmouse at archlinux ~
$ grep PRETTY /mnt/moonstudio/etc/os-release
PRETTY_NAME="Ubuntu 16.04.7 LTS"
• rocketmouse at archlinux ~
$ ls -al /mnt/moonstudio/home/weremouse/ | grep archlinux
lrwxrwxrwx rocketmouse users 43 B Tue Oct 6 22:57:50 2015 .bogofilter ⇒ /mnt/archlinux/home/rocketmouse/.bogofilter
lrwxrwxrwx rocketmouse users 43 B Tue Oct 6 22:57:50 2015 .claws-mail ⇒ /mnt/archlinux/home/rocketmouse/.claws-mail
lrwxrwxrwx rocketmouse users 42 B Tue Oct 6 22:57:50 2015 Claws Mail ⇒ /mnt/archlinux/home/rocketmouse/Claws Mail
Archlinux was mounted by 16.04's fstab. Note, I build packages for
exactly the same versions, with the same build time configure options
for Archlinux and 16.04 myself, but at some point Claws Mail stopped
working properly on Arch Linux. It's unlikely an issue related to the
shared folder, but nevertheless cannot be completely ruled out.
Today I store the photos I've taken on it's own partition, I don't link
from inside my home directory, it's a mount point in the root directory.
• rocketmouse at archlinux ~
$ head -7 /etc/fstab
#<file system> <dir> <type> <options> <dump> <pass>
LABEL=m1.archlinux / ext4 rw,relatime,data=ordered 0 1
LABEL=m1.swap none swap defaults 0 0
# ............................. not noatime,defaults
LABEL=vm.dedu.11 /var/lib/libvirt/images/mnt/vm.dedu.11 ext4 defaults,noatime 0 2
LABEL=s3.a6400 /.a6400 ext4 defaults,noatime 0 2
I've got always access to the photo-folder .a6400/, see attachment.
It never caused me any trouble.
Regards,
Ralf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mounted_photo_dir.jpg
Type: image/jpeg
Size: 20194 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20230921/14a136c5/attachment-0001.jpg>
More information about the ubuntu-users
mailing list