yatima1460 / Drill

Search files without indexing, but fast crawling
https://drill.software/
GNU General Public License v2.0
269 stars 21 forks source link

how to index my ntfs partition in linux? #64

Open nazar2sfive opened 4 years ago

nazar2sfive commented 4 years ago

android@clr:~ $ lsblk -f NAME FSTYPE LABEL UUID FSAVAIL FSUSE% MOUNTPOINT sda
├─sda1 vfat 8E4B-CFA8
├─sda2 swap 8e539d4e-14a1-45a4-91a7-65b3c14cee63 [SWAP] ├─sda3 ext4 bb38d71f-288c-49f8-bb63-97ea829aaad1 86.6G 14% / ├─sda4 ntfs 40C81DD6C81DCB54
├─sda5 vfat A421-79B1
├─sda6
├─sda7 ntfs 3CE0259AE0255C00
└─sda8 ntfs router_data 4416017316016770 128.4G 54% /mnt/4416017316016770 sr0

i have my sda8 (ntfs volume) mounted as automount on boot. how to index files inside them via Drill. I dual boot windows 10 and clear linux.

yatima1460 commented 4 years ago

Drill automatically starts threads for all available mountpoints found:

https://github.com/yatima1460/Drill/blob/a953ce6df6b759000f7839a76cfdf890313f8546/Core/Utils.d#L127

using df -h --output=target to get the mounts

let me know the output

nazar2sfive commented 4 years ago
android@clr:~
$ df -h --output=target
Mounted on
/
/dev
/dev/shm
/run
/sys/fs/cgroup
/tmp
/mnt/4416017316016770
/run/user/1000
android@clr:~
$ 
yatima1460 commented 4 years ago

ok so the mountpoint is found

problem is this probably:

edit the blacklist and remove

https://github.com/yatima1460/Drill/blob/a953ce6df6b759000f7839a76cfdf890313f8546/Assets/Core/BlockLists/linux.txt#L16

ClearLinux mounts in /mnt

when I have never seen a distro do it that's why I thought /mnt was a good thing to add as a blacklisted folder

yatima1460 commented 4 years ago

also isn't /mnt deprecated nowadays in favor of /media?

/mnt should be used only for temporarily mounted filesystems /media for mounting files systems

nazar2sfive commented 4 years ago

image photo taken from some other website. not mine

i use gnome-disk-utility for the mount purpose . easy and simple. and it does that at /mnt by default

nazar2sfive commented 4 years ago

image

any future gui plan to keep a settings menu for configuring where to index for? image

search everything with these option.

yatima1460 commented 4 years ago

oh yes absolutely, in the long run I want to do something like Everything on Windows

I want a GUI that let's you edit the allowed and disallowed folders.