Hi,
I have created a PORT at last, its in the 'port' directory in the usual place:
https://github.com/vermaden/automount/
Its my first PORT so feel free to bash me about my mistakes ;)
After latest 'commits' I think that its ready for day-to-day use.
To make 'full advantage' of *automount* in
Hi,
I removed the state_lock and stat_unlock mechanisms as they
appeared to be not needed, I have shufled with 3 drives all
the time and the 'integrity' has not been lost, at it was a lot
faster, because the lock always had to wait for the 'slowest'
drive (in term of initializing the device, like
written by ${ME} ...
> First BUG: (not fixed yet, but workaround already is working)
>
> TEST/BUG/CASE:
> Plug in FAT32 and NTFS drives at the same time, when FAT32 device
> will be detected first, it will get mounted and the NTFS drive will be
> mounted TWICE, so I added > __check_already_mounte
written by Andriy Gapon ...
> Hey, this seems like a quite nice tool.
> Can you create a web-page and/or port for it?
> It would be more convenient to follow its development that way.
> Thank you!
Sure, its now available here, I will try to create port later:
https://github.com/vermaden/automoun
Hi,
new version with new features (and BUGs ;p)
Added check if ntfsfix from sysutils/ntfsprogs is available, if Yes then
try to fix the NTFS filesystem before mouting it.
Added GPL3 License ... just joking ;) ... added FreeBSD License to the file.
Added 'noatime' as a default mount option when
В Mon, 20 Feb 2012 09:43:59 +0100
vermaden пишет:
> Hi,
>
> new version with new features (and BUGs ;p)
>
> Added check if ntfsfix from sysutils/ntfsprogs is available, if Yes
> then try to fix the NTFS filesystem before mouting it.
>
> Added GPL3 License ... just joking ;) ... added FreeBSD L
[cc list trimmed]
Hey, this seems like a quite nice tool.
Can you create a web-page and/or port for it? It would be more convenient to
follow its development that way.
Thank you!
on 20/02/2012 10:43 vermaden said the following:
> Hi,
>
> new version with new features (and BUGs ;p)
>
> Added c
Hi,
sorry for late response, but I currently have quite a
lot 'weekend activities' that are definitely not near
a computer ;)
written by Gleb Kurtsou ...
>> __state_lock() {
>> while [ -f ${STATE}.lock ]; do sleep 0.5; done
>> :> ${STATE}.lock
>> }
>
> Why not keep it stateless, unmounting
On (18/02/2012 10:48), vermaden wrote:
> Added a check if ntfs-3g is available, if not then mount_ntfs is used instead.
> Added deleting of empty directories at ${MNTPREFIX}.
> Added ${MNTPREFIX} to be set to /mnt or /media according to preference
>
> #! /bin/sh
>
> PATH=/bin:/sbin:/usr/bin:/usr/
On Saturday 18 February 2012 10:48:11 vermaden wrote:
> Added a check if ntfs-3g is available, if not then mount_ntfs is used
> instead. Added deleting of empty directories at ${MNTPREFIX}.
> Added ${MNTPREFIX} to be set to /mnt or /media according to preference
>
> #! /bin/sh
>
> PATH=/bin:/sbin
Added a check if ntfs-3g is available, if not then mount_ntfs is used instead.
Added deleting of empty directories at ${MNTPREFIX}.
Added ${MNTPREFIX} to be set to /mnt or /media according to preference
#! /bin/sh
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin
MNTPREFIX="/media
Latest version with additional checks for NTFS and FAT32, to be precise,
for NTFS filesystem with label "FAT" and for FAT filesystem with label "NTFS" ;)
#! /bin/sh
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin
LOG="/var/log/automount.log"
STATE="/var/run/automount.state"
DATE
... even newer version, seems to have all 'problems' fixed now ;)
#! /bin/sh
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin
LOG="/var/log/automount.log"
STATE="/var/run/automount.state"
DATEFMT="%Y-%m-%d %H:%M:%S"
__create_mount_point() { # /* 1=DEV */
MNT="/mnt/$( basename
I already made some changes for the 'better' ...
Here is the latest version:
#! /bin/sh
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin
LOG="/var/log/automount.log"
STATE="/var/run/automount.state"
DATEFMT="%Y-%m-%d %H:%M:%S"
__create_mount_point() { # /* 1=DEV */
MNT="/mnt/
On 02/17/12 09:49, vermaden wrote:
> Hi,
>
> I have finally made some effort on writing flexible yet very simple
> automounter for FreeBSD desktop.
>
> Feel free to submit me BUG reports ;)
>
> It currently supports these file formats:
> -- NTFS(rw) requires [port]sysutils/fusefs-ntfs[/port]
> --
15 matches
Mail list logo