Skip to content

Commit

Permalink
create_job_tmpdir: Remove lost+found
Browse files Browse the repository at this point in the history
We don't need lost+found and users might be irritated by a directory not
accessible to them in their TMPDIR. So remove it.
  • Loading branch information
donald committed Jan 29, 2020
1 parent 8a53add commit befa703
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions helper/create_job_tmpdir
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ if fallocate -l ${MXQ_SIZE}G $filename; then
-O '64bit,ext_attr,filetype,^has_journal,huge_file,inline_data,^mmp,^quota,sparse_super2' \
$loopdevice \
&& mkdir -p $mountpoint && mount -Odata=writeback,barrier=0 $loopdevice $mountpoint; then
rmdir $mountpoint/lost+found
status=0
fi
losetup -d $loopdevice
Expand Down

0 comments on commit befa703

Please sign in to comment.