script to mount all filesystems on startup [closed]
I'm working making a linux distro that will run on a usb stick and be used on many different computers. I need to develop an automated way to mount all of the filesystems connected to the PC.
since there's no pattern in how the device names will be listed, and I'm not sure how to differentiate any partition from a partition with a filesystem on it, I'm unsure how to write the script needed to do this
linux mount fstab
closed as too broad by G-Man, Jeff Schaller, RalfFriedl, Mr Shunz, Stephen Kitt Jan 8 at 10:08
Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
add a comment |
I'm working making a linux distro that will run on a usb stick and be used on many different computers. I need to develop an automated way to mount all of the filesystems connected to the PC.
since there's no pattern in how the device names will be listed, and I'm not sure how to differentiate any partition from a partition with a filesystem on it, I'm unsure how to write the script needed to do this
linux mount fstab
closed as too broad by G-Man, Jeff Schaller, RalfFriedl, Mr Shunz, Stephen Kitt Jan 8 at 10:08
Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
any filesystem? NFS? SAN? CIFS?
– Jeff Schaller
Jan 7 at 19:38
1
I guess you could do worse than look at your favourite distro's live/rescue/install medium and see how they do it.
– Ulrich Schwarz
Jan 7 at 19:42
add a comment |
I'm working making a linux distro that will run on a usb stick and be used on many different computers. I need to develop an automated way to mount all of the filesystems connected to the PC.
since there's no pattern in how the device names will be listed, and I'm not sure how to differentiate any partition from a partition with a filesystem on it, I'm unsure how to write the script needed to do this
linux mount fstab
I'm working making a linux distro that will run on a usb stick and be used on many different computers. I need to develop an automated way to mount all of the filesystems connected to the PC.
since there's no pattern in how the device names will be listed, and I'm not sure how to differentiate any partition from a partition with a filesystem on it, I'm unsure how to write the script needed to do this
linux mount fstab
linux mount fstab
asked Jan 7 at 18:58
2c2c2c2c
101
101
closed as too broad by G-Man, Jeff Schaller, RalfFriedl, Mr Shunz, Stephen Kitt Jan 8 at 10:08
Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
closed as too broad by G-Man, Jeff Schaller, RalfFriedl, Mr Shunz, Stephen Kitt Jan 8 at 10:08
Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
any filesystem? NFS? SAN? CIFS?
– Jeff Schaller
Jan 7 at 19:38
1
I guess you could do worse than look at your favourite distro's live/rescue/install medium and see how they do it.
– Ulrich Schwarz
Jan 7 at 19:42
add a comment |
any filesystem? NFS? SAN? CIFS?
– Jeff Schaller
Jan 7 at 19:38
1
I guess you could do worse than look at your favourite distro's live/rescue/install medium and see how they do it.
– Ulrich Schwarz
Jan 7 at 19:42
any filesystem? NFS? SAN? CIFS?
– Jeff Schaller
Jan 7 at 19:38
any filesystem? NFS? SAN? CIFS?
– Jeff Schaller
Jan 7 at 19:38
1
1
I guess you could do worse than look at your favourite distro's live/rescue/install medium and see how they do it.
– Ulrich Schwarz
Jan 7 at 19:42
I guess you could do worse than look at your favourite distro's live/rescue/install medium and see how they do it.
– Ulrich Schwarz
Jan 7 at 19:42
add a comment |
0
active
oldest
votes
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
any filesystem? NFS? SAN? CIFS?
– Jeff Schaller
Jan 7 at 19:38
1
I guess you could do worse than look at your favourite distro's live/rescue/install medium and see how they do it.
– Ulrich Schwarz
Jan 7 at 19:42