oS v13.1_x64 - KDE. I have an external usb HD originally formatted FAT32. I want to change it to ext4 and am part way there. My hang up is permissions.
This device (sdf1) originally mounted to /var/run/media/$User/LabelName
As root I did
mkfs -t ext4 /dev/sdf1
I then used YaST partition manager to edit the partition and gave it a name and mounting point same as above.
While this works fine logged in a root it has other problems that I need to resolve.
Ordinarily, these devices auto mount and are r/w by the user. And they can be ejected. And they have no entry in fstab.
The YaST partitioner required me to enter a mounting point and it entered that info into fstab.
And upon ejection it want my root authenication. I presume this is due to being logged in as $user.
Is there some kind of MBR entry that determines how these devices autoload? Or
From my mount cmd:
/dev/sdf1 on /var/run/media/jon/Seagate1Tb type ext4 (rw,relatime,data=ordered)
A FAT32 device mounted shows this and has no entry in fstab:
/dev/sdg1 on /run/media/jon/Seagate15tb type vfat (rw,nosuid,nodev,relatime,uid=1000,gid=100,fmask=0022,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,showexec,utf8,flush,errors=remount-ro,uhelper=udisks2)
So I can see that the fat32 device knows it was mounted with my own userID.
fdisk shows the following for my HD, the problem USB device, and the FAT32 USB device:
fdisk -l
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes, 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0xf44763df
Device Boot Start End Blocks Id System
/dev/sda1 63 80324 40131 16 Hidden FAT16
/dev/sda2 * 81920 1953523711 976720896 f W95 Ext'd (LBA)
/dev/sda5 83968 16883711 8399872 82 Linux swap / Solaris
/dev/sda6 16885760 58830847 20972544 83 Linux
/dev/sda7 58832896 1953503231 947335168 83 Linux
Disk /dev/sdf: 1000.2 GB, 1000204885504 bytes, 1953525167 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0x000d4543
Device Boot Start End Blocks Id System
/dev/sdf1 2048 1953521663 976759808 83 Linux
Disk /dev/sdg: 1500.3 GB, 1500301909504 bytes, 2930277167 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0xb185db18
Device Boot Start End Blocks Id System
/dev/sdg1 63 2930272064 1465136001 c W95 FAT32 (LBA)
What can I do to fix this problem?
Jon