View Single Post
Old 29 January 2021, 07:38   #5
gryf
Registered User
 
Join Date: Jan 2013
Location: Poland
Posts: 38
Yup!

Here is mine SD 8GB flashcard, where I have shared AmigaOS and Debian:
Code:
sdc: RDSK (512) sdc1 (DOS^C)(res 2 spb 1) sdc2 (DOS^C)(res 2 spb 1) sdc3 (LNX^@)(res 2 spb 1)
Note, that fdisk/cfdisk will not be able to recognize RDB partition table (at least for me) only parted/gparted was capable of doing so.

As for the permission.
Code:
 ~ # ls -l /dev/sdc*
brw-rw---- 1 root disk 8, 32 01-29 07:10 /dev/sdc
brw-rw---- 1 root disk 8, 33 01-29 07:10 /dev/sdc1
brw-rw---- 1 root disk 8, 34 01-29 07:10 /dev/sdc2
brw-rw---- 1 root disk 8, 35 01-29 07:10 /dev/sdc3
In my case, only
root
and everyone in group
disk
can access devices for this flashcard. So either I'll add myself to the disk group (in
/etc/group
and
/etc/gshadow
for consistency) or just temporary change the permissions for all of those devices as root, before running fs-uae:
Code:
~ # chmod o+rw /dev/sdc*
Note, that you'll need to do this every time before running the fs-uae, since after fs-uae exit, device partitions will be re-discovered again, and permissions will be restored to defaults.

As for
hard_drive_0_type
- it's might be needed for unformatted disks, but in this case, it is fine to omit it, since type will be determined automatically.
gryf is offline  
 
Page generated in 0.04518 seconds with 11 queries