Mount ntfs
disks using ntfs3
This commit is contained in:
parent
81c06bf5e0
commit
5987f326cc
1 changed files with 5 additions and 2 deletions
|
@ -324,14 +324,17 @@
|
|||
builtins.concatMap
|
||||
(_: [
|
||||
probeScript
|
||||
(builtins.concatStringsSep " " [
|
||||
(builtins.concatStringsSep " " ([
|
||||
"sudo"
|
||||
"mount"
|
||||
"--mkdir"
|
||||
] ++ (lib.optionals (_.format == "ntfs") [
|
||||
"-t" "ntfs3"
|
||||
]) ++ [
|
||||
(builtins.concatStringsSep " " (builtins.map (_: "-o ${_}") _.mountOptions))
|
||||
(partPath _)
|
||||
(normalizePath "/${rootDir}/${_.mountPoint}")
|
||||
])
|
||||
]))
|
||||
])
|
||||
(lib.lists.sortOn
|
||||
(_: normalizePath "/${_.mountPoint}")
|
||||
|
|
Loading…
Reference in a new issue