› Foros › PC › Software libre
codestation escribió:Una mejor solución es agregar "hide_hid_files" a las opciones de montaje de tu disco NTFS, así no se mostrará ningún archivo marcado como oculto.
coffeecat
November 18th, 2011, 11:32 AM
@yoramdavid, there are two types of hidden files. The Linux ones with the leading dot and the Windows system using the NTFS attribute with hidden flag. According to the link you posted there are mount options for both. My guess is that you want to hide the NTFS folders "System Volume Information" and "$RECYCLE.BIN". The option hide_hid_files works for this, and this is the appropriate /etc/fstab line from one of my systems:
UUID=4E74462B225AD5CB /media/Data ntfs defaults,uid=1000,umask=000,windows_names,hide_hid _files 0 0
That effectively hides those two system folders.
Although you don't ask this, you might want to use the windows_names option as well. You can read up on this in your link but briefly without it, Linux is able to save files to NTFS with so-called forbidden characters such as : in the filename which Windows doesn't support. Rather bizarrely, you can see and use these files in Ubuntu/Linux even on a NTFS filesystem, but if you try in Windows you get an error.
If you want help with editing your /etc/fstab, just post back.
UUID=AEA63FADA63F7545 /media/500gb-hdd1 ntfs-3g defaults,noatime,hide_hid_files,windows_names 0 0
UUID=ECF48779F48744B4 /media/2000gb-hdd2 ntfs-3g defaults,noatime,hide_hid_files,windows_names 0 0
UUID=AEA63FADA63F7545 /media/500gb-hdd1 ntfs-3g noatime,hide_hid_files,windows_names 0 0
UUID=ECF48779F48744B4 /media/2000gb-hdd2 ntfs-3g noatime,hide_hid_files,windows_names 0 0