How to mount vfat partition automatically after boot?
After login it it will mount all vfat partition and the icon of those parition will be at desktop.
How can it be done.
udisks is installed.
If i click a vfat partition from pcmanfm it prompts for password to mount.
I don’t want to click.
It will be automatically mounted and i will get the icon of that mounted vfat partition at desktop
you might want to create a mount point for it first. If you don’t konw how, tell me how you want it to appear Eg; STORE or MUSIC whatever
and what is your login / uername
for dev in sda1 sda2 sda12 sda13 ; do
cat > ~/Desktop/$dev.desktop << EOFDFILE
[Desktop Entry]
Type=Application
Icon=system-file-manager
Name=$dev
Exec=pcmanfm /media/$dev
StartupNotify=true
Terminal=false
MimeType=inode/directory;
EOFDFILE
chmod 744 ~/Desktop/$dev.desktop
done
Copy/paste the code above, save to a file an execute … or for each partition, create a file in ~/Desktop which would look like that (example for sda1) :