Python Forum
Looping Through Linux Filesystems
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Looping Through Linux Filesystems
#3
I went with a list of two filesystems I would like to use but this isn't really what I'm looking for. The os.walk function returns a list of all files and directories, not what's in /etc/fstab (unless i'm missing something).

I added a list with '/u01' and '/backup', but would also like to look at the filesystems displayed when you enter the 'df -h' command in Linux.
Reply


Messages In This Thread
Looping Through Linux Filesystems - by anelliaf - Mar-02-2018, 07:44 PM
RE: Looping Through Linux Filesystems - by Larz60+ - Mar-02-2018, 07:48 PM
RE: Looping Through Linux Filesystems - by anelliaf - Mar-05-2018, 06:59 PM
RE: Looping Through Linux Filesystems - by wavic - Mar-05-2018, 08:20 PM
RE: Looping Through Linux Filesystems - by anelliaf - Mar-06-2018, 03:27 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020