Question about multiple scratch mount points
Hi folks, I am new at fstests development so I have a question that...might be silly, apologies in advance!
How should I require to have 2 scratch mnt points for some test? I'm not sure if necessary: what I'd like to accomplish is to mount the same filesystem (present in the scratch device) twice, in different mount points. One idea would be to just mkdir 2 folders under $SCRATCH_MNT/, but I'm not sure if it's guaranteed to be writable before any mounts happen.
Suggestions are appreciated! Also, sent here since I don't really know other forms of seeking help, tried IRC before without success. Thanks in advance,
Guilherme
Quoted 8 lines · Guilherme G. Piccoli
Hi folks, I am new at fstests development so I have a question that...might be silly, apologies in advance!
How should I require to have 2 scratch mnt points for some test? I'm not sure if necessary: what I'd like to accomplish is to mount the same filesystem (present in the scratch device) twice, in different mount points. One idea would be to just mkdir 2 folders under $SCRATCH_MNT/, but I'm not sure if it's guaranteed to be writable before any mounts happen.
We can use $SCRATCH_MNT and $TEST_MNT/$seq/mnt_copy as showen in the proposed test case.
HTH
-Anand
Quoted 6 lines
Suggestions are appreciated! Also, sent here since I don't really know other forms of seeking help, tried IRC before without success. Thanks in advance,
Guilherme
Quoted 10 lines · Anand Jain
Quoted 8 lines · Guilherme G. Piccoli
Hi folks, I am new at fstests development so I have a question that...might be silly, apologies in advance!
How should I require to have 2 scratch mnt points for some test? I'm not sure if necessary: what I'd like to accomplish is to mount the same filesystem (present in the scratch device) twice, in different mount points. One idea would be to just mkdir 2 folders under $SCRATCH_MNT/, but I'm not sure if it's guaranteed to be writable before any mounts happen.
Quoted 6 lines
We can use $SCRATCH_MNT and $TEST_MNT/$seq/mnt_copy as showen in the proposed test case.
HTH
-Anand
Thanks a bunch Anand!