If i place a disk with several partitions ' mount disk works very well
If i have for example /dev/sda1 , dev/sda2, dsev/sda5 for a disk previously used with Windows in ntfs
Now if ii use in Share Directories with name USB and path /mnt
I can see the 3 partitions with Windows explorer \ IP
The problem is that in this case the space in the partitions is insufficient
The question is therefore:
How to make the partitions are automatically shared in correspondence with the name of those which are mounted ?
or if exist
/dev/sda1 -> USB shared /mnt/sda1
/dev/sda2 -> USB shared /mnt/sda2
/dev/sda5 -> USB shared /mnt/sda5
...
It would be awesome if we had this:
USB HUB with HHD + USB key
llsblk -f
NAME FSTYPE LABEL UUID MOUNTPOINT
sda
└─sda1 ntfs CCCOMA_X64FRE_FR-FR_DV9
16164A47164A27D7 /mnt/sda1
sdb
└─sdb1 vfat 7_8GO 8E91-6AD1 /mnt/sdb1
sdc
├─sdc1 ntfs Réservé au système
│ 38BED357BED30BEE /mnt/sdc1
├─sdc2 ntfs 300 GB 304CD65E4CD61E82 /mnt/sdc2
└─sdc3 ntfs 600 MO B82CFF332CFEEAF0 /mnt/sdc3
can use but no name
df | grep "/mnt" | sort -k4 -n | head -1 | awk '{print $1" " $2
" "$3" "$4" "$5" "$6}'
/dev/sda1 511996 385676 126320 75% /mnt/sda1
/dev/sda2 310924848 45922944 265001904 15% /mnt/sda2
/dev/sda3 574460 499260 75200 87% /mnt/sda3
script with image ??