udev and friends not able to mount Atari GEMDOS partition
Dear Debian m68k-list
I've tinkering a lot with Atari computers lately but I was mostly active
on the FreeMint side of things [0]. Now I am considering the Linux side
of things since I got a TT with 32MB of RAM in March.
Going back to $subject:
I have a sd card partitioned with an AHDI partition table (that I use
with https://lotharek.pl/productdetail.php?id=48)
and I noticed that the partition layout is correctly detected by the
kernel and udev when I insert the SD card on Linux:
dmesg| grep AHDI
[1040750.399373] mmcblk0: AHDI p1 p2
udevadm info /dev/mmcblk0 | grep ID_PART_TABLE
E: ID_PART_TABLE_TYPE=atari
Now the thing is that altough the partitions are formatted with Atari
GEMDOS fat, udev does not recognize the FS, which prevents mounting the
partition as a non root user via nautilus / udisksctl tools.
# notice the missing ID_FS_ keys
udevadm info /dev/mmcblk0p1
E: DEVNAME=/dev/mmcblk0p1
E: DEVTYPE=partition
E: PARTN=1
E: MAJOR=179
E: MINOR=1
E: SUBSYSTEM=block
E: USEC_INITIALIZED=1040760689634
E: ID_NAME=SU01G
E: ID_SERIAL=0xb023b954
E: ID_PATH=pci-0000:00:1a.0-usb-0:1.3:1.0-platform-rtsx_usb_sdmmc.2.auto
E: ID_PATH_TAG=pci-0000_00_1a_0-usb-0_1_3_1_0-platform-rtsx_usb_sdmmc_2_auto
E: ID_PART_TABLE_TYPE=atari
E: ID_DRIVE_FLASH_SD=1
E: ID_DRIVE_MEDIA_FLASH_SD=1
E: ID_PART_ENTRY_SCHEME=atari
E: ID_PART_ENTRY_TYPE=BGM
E: ID_PART_ENTRY_NUMBER=1
E: ID_PART_ENTRY_OFFSET=2
E: ID_PART_ENTRY_SIZE=131072
E: ID_PART_ENTRY_DISK=179:0
E: DEVLINKS=/dev/disk/by-id/mmc-SU01G_0xb023b954-part1
/dev/disk/by-path/pci-0000:00:1a.0-usb-0:1.3:1.0-platform-rtsx_usb_sdmmc.2.auto-part1
E: TAGS=:systemd:
Considering it is possible to mount such a partition as root with
sudo mount /dev/mmcblk0p1 /mnt
what would need be in udev to recognize the filesystem ?
Best Regards
Emmanuel
[0] https://subsole.org/st_mint
Reply to: