Thank you very much Carsten. Firstly, I am sorry for posting into wrong
thread (I somehow missed the subject while checking grammar), this is the
first time I am using a mailing list. Secondly, I poorly explained my
intention. I am trying to make EFM work with HDD the same way the KDE does,
i.e. mount (and unmount) the HDD only when I explicitly request it via file
manager GUI, rather than create an fstab entry to automatically mount the
drive or mount it via command line. My reason not to use the fstab and
mount/unmount manually is to make manually sure the disk is not used and
safely stopped before I move the laptop. That is, I thought that I could
use EFM as a GUI to mount and unmount the HDD with UDISKS2 if I set the HDD
properties accordingly for it to be recognised as a removable device and I
understand that EFM is not meant to do that.

so 5. 8. 2023 v 21:33 odesílatel Carsten Haitzler <[email protected]>
napsal:

> On Sat, 5 Aug 2023 17:59:03 +0200 comantelix36 <[email protected]>
> said:
>
> > Hello,
> > I am using Enlightenment 0.25.4 and I am trying to get Enlightenment to
> > display secondary HDD as an mountable HDD in file manager. Previously I
> > used the HDD this way under KDE.
> > The computer in question is a dual Sata disk laptop with installation on
> > NixOS on SSD at /dev/sdb and a secondary data HDD at /dev/sda. The HDD is
> > not displayed by the enlightenment file manager (EFM), while any other
> USB
> > flashdrive or USB HDD I tried worked flawlessly. The HDD contains one
> Ext4
> > partition labeled "Data" and is omitted from the the fstab, so that it is
> > not mounted by the system automatically. The EFM is set to UDISKS2 mode.
> > I suspected the EFM considers the HDD a "system drive" (as in udev
> > HintSystem) and hides it. Before my intervention the HDD was reported by
> > udiskctl (# udisksctl info -b /dev/sda) "HintSystem: true". Adding
> > appropriate udev rule I changed this to false (both for /dev/sda and the
> > /dev/sda1 partition). This did not help. I have inspected the source code
> > concerning UDISKS2 from EFM (src/bin/e_fm/e_fm_main_udisks2.c) where I
> > found check for "HintSystem" applied to block devices. There is also a
> > check applied to storage devices: non-removable, non-hotswappable,
> > non-ejectable storage device is considered system. It seems to me that
> this
> > check is not be applied to block devices. Finally I also removed the
> "~/.e"
> > directory, which did not help as well.
> > Thanks in advance for any help.
>
> efm is meant to show icons for removable devices - the kind that can be
> unplugged/ejected/removed etc. everything else is a system drive and
> should be
> handled by fstab as its not a removable device.
>
> --
> ------------- Codito, ergo sum - "I code, therefore I am" --------------
> Carsten Haitzler - [email protected]
>
>

_______________________________________________
enlightenment-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

Reply via email to