вт, 19 нояб. 2024 г., 05:40 Michele Calgaro via tde-users < users@trinitydesktop.org>:
On 2024/11/19 12:49 AM, Roman Savochenko via tde-users wrote:
18.11.24 15:08, Michele Calgaro via tde-users:
RW access to floppy is broken in TDE
Access to devices is controlled by the linux kernel, it has nothing to
do with TDE or any DE for that matters
Access is controlled by udisks or from /etc/fstab! :)
And udisks directly mounts floppy only in RO.
And when you write a record about floppy in /etc/fstab, TDE uses direct
mounting by call mount for it, and that is wrong
work also for userspace.
Then I just disabled the direct mounting at a record in /etc/fstab, so
TDE is using udisks for that and udisks reads /
etc/fstab and mounts RW in userspace correctly in this way.
User programs simply don't have direct access to any physical device in
linux, it all happens through kernel system
calls and the kernel is the solely responsible piece of code for
reading/writing to any device.
Do you think I have no real old device to test such behavior? :)
Hi Roman, I suggest you take an Operating System class before you write some comments, it may save you some embarrassment :-)
It surely goes via kernel driver, but dd (and mount) are userspace programs ... let alone udisks and TDE.
Many pieces above kernel to go wrong ...
Cheers
Michele ____________________________________________________ tde-users mailing list -- users@trinitydesktop.org To unsubscribe send an email to users-leave@trinitydesktop.org Web mail archive available at https://mail.trinitydesktop.org/mailman3/hyperkitty/list/users@trinitydeskto...