Open louies0623 opened 3 years ago
Please open a Terminal and type mount
.
What does it say?
What happens if you manually mount these disks?
Where is Terminal? The new version of DOCK cannot open any files.
"Could not launch Filer /applications/ preferences"
Please type "terminal" in the Search box in the upper left corner.
"Could not launch Filer /applications/ preferences"
Separate issue.
What do you see on the desktop? What would you expect to see on the desktop?
Several hard drives on the computer are all displayed on the desktop Whether it’s a fedora system hard drive or a Windows hard drive .
Several hard drives on the computer are all displayed on the desktop
The desktop just displays what is mounted.
So from the mount
command it looks like those additional drives are not mounted.
Can you mount them by hand, and then see whether they appear on the desktop?
Possibly this is an issue with automount?
Does anything change when you run sudo service devd restart
?
Im try
No nothing
Can you mount them by hand? What does mount
say now?
Wait a minute I made a mistake
Still no change
Can you mount them by hand?
I tried, after the Hot swap and still the same.
If you open Filer and go to computer:// does the device show there?
How to use. Since he made the desktop "simple", I have not been able to find the folder with the option "go to"
And there is no system language option that allows me to easily find the file manager settings in my own language. Not to mention that the control keys in the system are not friendly to me on the PC keyboard, which prevents me from using shortcut keys.
If you open Filer and go to computer:// does the device show there?
Go -> Computer. I expect it to show the exact same as on the Desktop.
Not to mention that the control keys in the system are not friendly to me on the PC keyboard
Command+Shift+C
What happens if you attach an USB stick?
My computer still does not show my hard drive, but USB is working.
One more thing, the Command key is the windows key, right, it changes to use the Alt key on my keyboard, Ctrl+C doesn’t work, so I press Alt+C. I’m quite confused. Because I typed the command in the sticky note, it is convenient to check whether I typed the command wrong, and then I want to copy it on the terminal but there is no copy, paste and cut function in the right-click option
I tried to adjust it in the keyboard shortcut settings. There is no option for the keyboard control options to switch to the USB or PC keyboard control key layout.
Hello @vermaden, can you tell why hot-plugging USB devices works but fixed (cold-plugged) disks in the computer do not get automounted?
It looks like https://github.com/vermaden/automount/blob/master/automount_devd.conf only uses da
but not ada
disks.
If this is by design, would you consider adding such a feature (optionally)?
Users coming from Windows or the Mac will find it surprising that the fixed disks (other than the root disk) inside the computer are not mounted automatically.
Additional explanation: The hard disk can be displayed on the installation of Hello OS and the hard disk tool, but the "partition" of the hard disk is not displayed on the desktop (I am not sure of the exact name) .
First, you need a root shell. Run sudo -i
in a terminal.
Tell me what
ls /dev | grep ada
gives you. For me, I get
ada0p1
ada0p2
...
ada0p10
For each of them, we need more information from from file
file --special /dev/ada0p1
You will get more information. To mount them, you need to know the filesystem type. If it says ntfs, for example, you need
mkdir -p /mnt/something
mount -t ntfs /dev/ada0p1 /mnt/something
The disk should show on the desktop.
Instead of NTFS, you might get:
If you really need automount(8) to also consider ada disks then just modify its devd(8) config and add ada there.
Thanks @vermaden - I suppose you did leave this away on purpose: why?
@louies0623 please test this:
/usr/local/etc/devd/automount_devd.conf
(da|
with (ada|da|
(it occurs 2 times)Does it work now?
The Open As Root option doesn't work
sudo -A -E launch FeatherPad /usr/local/etc/devd/automount_devd.conf
sudo -A -E launch FeatherPad /usr/local/etc/devd/automount_devd.conf
It say: Users-PC% sudo -A -E launch FeatherPad /usr/local/etc/devd/automount_devd.conf env: python3.7: No such file or directory sudo: no password was provided sudo: a password is required
0F28
You NEED to stop putting python3.7 for the hash bang!
Indeed! Should be fixed in the next build.
The hard disk icon detected by the computer should appear on the desktop, but in fact only the show disk icons of Startvoliume, appear. USB drive can working. but Windows disk, Fedora disk, installed Hello OS on the hard drive disk no show.
Should hopefully be addressed by https://github.com/helloSystem/ISO/commit/f55f4bde8dce2954dcdb07accd02bae173e45d28 - let's see whether it works...
Thanks @vermaden - I suppose you did leave this away on purpose: why?
The automount(8) is for removable disks (da). The local disks (ada) I assume does not need to be automounted as they are always there - you create your needed filesystems once and add it to /etc/fstab - or even not if its ZFS.
I modified automount(8) and added additional automount_devd_localdisks.conf that you can use for your needs. Will commit this soon.
Added support for ada(4) devoces to automount(8).
Here: https://github.com/vermaden/automount/blob/master/automount
The devd(8) additional configs. https://github.com/vermaden/automount/blob/master/automount_devd_diskimage.conf https://github.com/vermaden/automount/blob/master/automount_devd_localdisks.conf
Thank you very much @vermaden, highly appreciated. Let's remove the need for gvfs and such things entirely by your beautiful, understandable scripts.
The hard disk icon detected by the computer should appear on the desktop, but in fact only the show disk icons of Startvoliume, appear. USB drive can working. but Windows disk, Fedora disk, installed Hello OS on the hard drive disk no show.