e4defrag doesn't notice if a device is mounted multiple times
Bug #1405140 reported by
Removed by request
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
e2fsprogs (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I'm using Ubuntu 15.04 dev with e2fsprogs 1.42.12-1ubuntu1 and if a device is mounted multiple times e4defrag doesn't notice this and will check/defragment the files multiple times. Here is an example:
root@ubuntu:~# e4defrag -c /dev/sda1 | grep extents
Total/best extents 176021/174899
root@ubuntu:~# mount /dev/sda1 /mnt
root@ubuntu:~# e4defrag -c /dev/sda1 | grep extents
Total/best extents 352050/349805
To post a comment you must log in.