pcbsd-developer Mailing List for PC-BSD
Status: Beta
Brought to you by:
kmoore134
You can subscribe to this list here.
2005 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(47) |
Nov
(15) |
Dec
(15) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2006 |
Jan
|
Feb
(2) |
Mar
(18) |
Apr
(16) |
May
(18) |
Jun
(12) |
Jul
(33) |
Aug
(42) |
Sep
(5) |
Oct
|
Nov
|
Dec
|
2007 |
Jan
(2) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Andrei K. <an...@bs...> - 2007-01-15 22:02:50
|
On Saturday, 13. January 2007 19:53, Aaron Siegel wrote: > Hello > > Is there or would it be possible to create a ports tree, snap shot which > contains the same version of packages as the versions used in creating > PCBSD. One of the reason I am using PCBSD rather than a version of Freebsd > binary installations. I think it is possible but haven't done it before. I think that better way would be ask devels to give you ports snapshot in tar.gz or something like that. |
From: Aaron S. <bul...@si...> - 2007-01-13 17:54:18
|
Hello Is there or would it be possible to create a ports tree, snap shot which contains the same version of packages as the versions used in creating PCBSD. One of the reason I am using PCBSD rather than a version of Freebsd binary installations. Aaron |
From: Andrei K. <an...@bs...> - 2006-09-07 10:02:39
|
PORT: sysutils/smartmontools The smartmontools package contains two utility programs (smartctl and smartd) to control and monitor storage systems using the Self-Monitoring, Analysis and Reporting Technology System (S.M.A.R.T.) built into most modern ATA and SCSI hard disks. It is derived from the smartsuite package, and includes support for ATA/ATAPI-5 disks. WWW: http://smartmontools.sourceforge.net #### #echo 'smartd_enable="YES"' >> /etc/rc.conf #### PORT: sysutils/ataidle ATAidle is a utility to set the power management features of ata hard drives. This includes idle and standby timeouts, APM and acoustic level settings, and it can show details about the installed devices. Author: Bruce Cran <bruce at cran.org.uk> WWW: http://www.cran.org.uk/bruce/software/ataidle/ Especially good additions for notebook owners and for users who are environment friendly. Andrei |
From: Charles A. L. <lan...@gm...> - 2006-09-05 15:38:32
|
Hi Guys, I'm done reorganizing the PBI section of the forum :) Please have a look at it: http://forums.pcbsd.org/index.php I also posted guidelines for the devs. Let's hope things are more organized and centralized now :) -- Charles A. Landemaine. |
From: Andrei K. <an...@bs...> - 2006-09-05 11:55:20
|
On Tuesday 05 September 2006 1:08 pm, Andrei Kolu wrote: > Hi! > > 1.3 test2 Installer shows error message about about md4 disk creation- that > means /var partition is not created and all errors are sent to /dev/null. > > We need one free terminal console (for example: ALT+F3) for logging error > messages for debugging purposes. > > And I still want "Handsfree" function in installer badly- this is not hard > to implement- just have to log all options selected in installer to file > and after installation is finished there should be option for saving this > file to some removable disk on even into PC-BSD base system for later use. > > Good news is that Installer kernel recognise SMP system by default and use > both processors. > I tried to install pc-bsd on striped volume instead of mirrored and it just won't recognize it. # kldload geom_stripe # gstripe label -v st0 /dev/ad0 /dev/ad1 # bsdlabel -wB /dev/stripe/st0 # mount /dev/stripe/st0a /mnt and when I enter partition manager it still shows two different hard drives instead of stripe volume. Strange that if I select available drives couple of times then they were added to next windows couple of times and it says: error you don't have enough space- but I generated two 4444MB virtual drives in Qemu. I was unable to start installer in SMP mode- maybe it loads too long- but with single mode it works really fast. When making mirror there should be SWAP space on every drive or else losing one drive renders other system unusable without swap space. CCD is too old to include anyway- replace it with RAID0 (stripe) instead. Andrei |
From: Andrei K. <an...@bs...> - 2006-09-05 10:07:51
|
Hi! 1.3 test2 Installer shows error message about about md4 disk creation- that means /var partition is not created and all errors are sent to /dev/null. We need one free terminal console (for example: ALT+F3) for logging error messages for debugging purposes. And I still want "Handsfree" function in installer badly- this is not hard to implement- just have to log all options selected in installer to file and after installation is finished there should be option for saving this file to some removable disk on even into PC-BSD base system for later use. Good news is that Installer kernel recognise SMP system by default and use both processors. Andrei |
From: Andrei K. <an...@bs...> - 2006-09-02 07:54:07
|
Hi all! I asked this question many times and now I think everybody is interested in this information: 1) How many downloads of PC-BSD various releases is done, traffic, mirrors throughput? 2) How many unique visitors to PC-BSD homepage and PBIDIR? 3) Performance graph- annoyance level (rate of critical bugs in releases compared to previous one)- graphical representation of development done. 4) How many PBI installers is on PBIDIR.com? I think we need this information to be visible for any person interested in PC-BSD. Andrei aka antik |
From: Ahmad A. A. <tru...@ma...> - 2006-08-29 16:42:43
|
well.. hye charles..=20 I'm just joining the list.. nuthing much to comment, but i feel it's good..=20 let give them more choices to define :) > ----- Original Message ----- > From: "Charles A. Landemaine" <lan...@gm...> > To: pcb...@li... > Subject: [Pcbsd-developer] Adapt font size to monitor resolution? > Date: Tue, 29 Aug 2006 11:18:05 -0300 >=20 >=20 > I was doing some testing here, and it seems some font sizes look > better according to the screen resolution. Sometimes, fonts are too > small or too big if the font size is fixed. >=20 > Should we define font sizes during system installation according to > the screen resolution? >=20 > -- > Charles A. Landemaine. >=20 > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job ea= sier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat= =3D121642 > _______________________________________________ > PCBSD-Developer mailing list > PCB...@li... > https://lists.sourceforge.net/lists/listinfo/pcbsd-developer > --=20 ___________________________________________________ Play 100s of games for FREE! http://games.mail.com/ |
From: Charles A. L. <lan...@gm...> - 2006-08-29 15:35:01
|
On 8/29/06, pcb...@li... <pcb...@li...> wrote: > If it looks good, then why not. but if you change resolution? If you change resolution, you also know how to change font size. Personnally I see no reason to change resolution when the monitor is set to native resolution. -- Charles A. Landemaine. |
From: Andrei K. <an...@bs...> - 2006-08-29 15:20:15
|
On Tuesday 29 August 2006 5:18 pm, Charles A. Landemaine wrote: > I was doing some testing here, and it seems some font sizes look > better according to the screen resolution. Sometimes, fonts are too > small or too big if the font size is fixed. > > Should we define font sizes during system installation according to > the screen resolution? If it looks good, then why not. but if you change resolution? |
From: Charles A. L. <lan...@gm...> - 2006-08-29 14:18:17
|
I was doing some testing here, and it seems some font sizes look better according to the screen resolution. Sometimes, fonts are too small or too big if the font size is fixed. Should we define font sizes during system installation according to the screen resolution? -- Charles A. Landemaine. |
From: Andrei K. <an...@bs...> - 2006-08-27 18:31:13
|
On Sunday 27 August 2006 9:14 pm, Mark Anthony Gutierrez wrote: > Sorry forgot to post the URL: > http://dev.gentoo.org/~spock/projects/gensplash/ > <http://dev.gentoo.org/%7Espock/projects/gensplash/> > > -Mark > > Mark Anthony Gutierrez wrote: > > I found this project for Gentoo it's called gensplash, obviously the > > project is specifically for Linux but it might shed some light on this > > idea. > > > > -Mark > > > > Federico Lorenzi wrote: > >> On Thursday 24 August 2006 17:05, Kris Moore - PC-BSD Software wrote: > >>> So the point is still the same :) This would have to be developed and > >>> submitted to FreeBSD guys. Anybody want to do it? :P > >> > >> Out of intrest, what would have to be developed, as per my understanding > >> the boot screens use the same code as the screensavers, maybe the > >> hardest part would actually be creating the screensaver (eg. bootscreen) > >> i'm fidling around now to see if i can get the little bouncing daemon to > >> come up as a (animated) startup graphic. > >> Linux splash screen is very Linux specific and can't be used in FreeBSD. If FreeBSD boot loader can load drivers and bootlogo, then it should be able to run animated screensavers too- why it's not done yet is beyound me. Andrei |
From: Mark A. G. <ma...@in...> - 2006-08-27 18:21:25
|
A little off topic, but I personally like creating partitions that mount under other non-root directories. For example: /usr/local: /usr `--local well the installation doesn't allow you to do this. Would it be possible for this issue to be addressed? I always find myself creating a blank partition, then formatting it manually when the system is already installed/running and adding it manually to the fstab file. -Mark Andrei Kolu wrote: > 1.3 partitions layout suggestions: > > For disk encryption feature, videly used on notebooks, I suggest to make > default partitions scheme like this: > > scheme nr1: > /boot 150MB > swap 1000MB > / rest of free space > /usr/home mounted from file:/usr/homespace (custom size, possible encrypted) > > scheme nr2: > /boot 150MB > swap 1000MB > / 2GB (userland and logs) > /usr rest of free space (/usr/home, /usr/src, /usr/port, etc...) > > Explanation: > If you need root space encryption then we need at least one "plain" space from > where we can boot kernel and where to store encryption keys. For more > information about FreeBSD encryption I'd suggest to look at this webpage: > http://events.ccc.de/congress/2005/fahrplan/events/1139.en.html > We may even make /boot partition read-only for better crash resistance. > > Another idea is to use /home as file backed encrypted filesystem- then we can > do backup by just copying /usr/homespace.eli file to NAS server or write it > onto CD/DVD. Possibilities are endless. > > We can add swap space as file based filesystem (256MB file as SWAP space): > > # dd if=/dev/null of=/usr/swap0 bs=1m count=256 > # mdconfig -a -t vnode -f /usr/swap0 -u 1 > # swapon /dev/md1 > > Type: "mdconfig -lu 1" to check md1 disk state. > > P.S. I already played with different encryption technologies here and found > FreeBSD existing features very reliable. > > > Andrei > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > PCBSD-Developer mailing list > PCB...@li... > https://lists.sourceforge.net/lists/listinfo/pcbsd-developer > > > > |
From: Mark A. G. <ma...@in...> - 2006-08-27 18:14:16
|
Sorry forgot to post the URL: http://dev.gentoo.org/~spock/projects/gensplash/ <http://dev.gentoo.org/%7Espock/projects/gensplash/> -Mark Mark Anthony Gutierrez wrote: > I found this project for Gentoo it's called gensplash, obviously the > project is specifically for Linux but it might shed some light on this > idea. > > -Mark > > Federico Lorenzi wrote: >> On Thursday 24 August 2006 17:05, Kris Moore - PC-BSD Software wrote: >> >>> So the point is still the same :) This would have to be developed and >>> submitted to FreeBSD guys. Anybody want to do it? :P >>> >> Out of intrest, what would have to be developed, as per my understanding the >> boot screens use the same code as the screensavers, maybe the hardest part >> would actually be creating the screensaver (eg. bootscreen) i'm fidling around >> now to see if i can get the little bouncing daemon to come up as a (animated) >> startup graphic. >> >> Anyways on a side note, maybe we should all join #pcbsd and discuss this in >> real time :P >> >> Cheers >> >> ------------------------------------------------------------------------ >> >> ------------------------------------------------------------------------- >> Using Tomcat but need to do more? Need to support web services, security? >> Get stuff done quickly with pre-integrated technology to make your job easier >> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> PCBSD-Developer mailing list >> PCB...@li... >> https://lists.sourceforge.net/lists/listinfo/pcbsd-developer >> > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > ------------------------------------------------------------------------ > > _______________________________________________ > PCBSD-Developer mailing list > PCB...@li... > https://lists.sourceforge.net/lists/listinfo/pcbsd-developer > |
From: Mark A. G. <ma...@in...> - 2006-08-27 18:11:55
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> <title></title> </head> <body bgcolor="#ffffff" text="#000000"> I found this project for Gentoo it's called gensplash, obviously the project is specifically for Linux but it might shed some light on this idea.<br> <br> -Mark<br> <br> Federico Lorenzi wrote: <blockquote cite="mid...@gm..." type="cite"> <pre wrap="">On Thursday 24 August 2006 17:05, Kris Moore - PC-BSD Software wrote: </pre> <blockquote type="cite"> <pre wrap="">So the point is still the same :) This would have to be developed and submitted to FreeBSD guys. Anybody want to do it? :P </pre> </blockquote> <pre wrap=""><!---->Out of intrest, what would have to be developed, as per my understanding the boot screens use the same code as the screensavers, maybe the hardest part would actually be creating the screensaver (eg. bootscreen) i'm fidling around now to see if i can get the little bouncing daemon to come up as a (animated) startup graphic. Anyways on a side note, maybe we should all join #pcbsd and discuss this in real time :P Cheers </pre> <pre wrap=""> <hr size="4" width="90%"> ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo <a class="moz-txt-link-freetext" href="http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642">http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642</a></pre> <pre wrap=""> <hr size="4" width="90%"> _______________________________________________ PCBSD-Developer mailing list <a class="moz-txt-link-abbreviated" href="mailto:PCB...@li...">PCB...@li...</a> <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/pcbsd-developer">https://lists.sourceforge.net/lists/listinfo/pcbsd-developer</a> </pre> </blockquote> <br> </body> </html> |
From: Andrei K. <an...@bs...> - 2006-08-25 20:01:38
|
On Friday 25 August 2006 10:41 pm, Charles A. Landemaine wrote: > I was thinking about how tedious it is to set up a laptop, and how > much time it takes searching on the Internet, on mailing lists and > forums how to fix every bits of your laptop to have it to work > properly. I don't mean it doesn't work out of the box, but it doesn't > work as expected either. For instance to gather all the information to > write this tutorial, it took a long long time: > http://faqs.pcbsd.org/index.php?action=artikel&cat=9&id=294 > > Now, if we could create a database of monitors that, if during > installation, the person selects her brand and model of laptop, and > PC-BSD runs a specific shell script in the background to do the tweaks > necessary to fix little annoyances specific to this particular laptop, > it would be so much better. > > What do you think? I configured my livecd/flash version of freebsd xorg like this: -------------------------------------------------- Section "Module" Load "ddc" Load "extmod" Load "dri" Load "dbe" Load "freetype" EndSection Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "Auto" Option "Device" "/dev/sysmouse" Option "ZAxisMapping" "4 5 6 7" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "keyboard" Option "XkbModel" "pc105" Option "XkbLayout" "ee,ru(phonetic)" Option "XkbOptions" "grp:switch,grp:alt_shift_toggle,grp_led:scroll" EndSection Section "Monitor" Identifier "Monitor0" HorizSync 31.5 - 85.0 VertRefresh 50.0 - 85.0 EndSection Section "Device" Identifier "Card0" Driver "vesa" EndSection Section "Screen" Identifier "Screen0" Device "Card0" Monitor "Monitor0" DefaultDepth 16 SubSection "Display" Depth 16 Modes "1024x768" EndSubSection EndSection -------------------------------------------------- And it works in 99% of cases. Correct refresh rate/modeline. Keyboard layout works with Alt+Shift combination, layout indicator is ScrollLock led. |
From: <ren...@gm...> - 2006-08-25 20:00:14
|
Charles A. Landemaine escreveu: > I was thinking about how tedious it is to set up a laptop, and how > much time it takes searching on the Internet, on mailing lists and > forums how to fix every bits of your laptop to have it to work > properly. I don't mean it doesn't work out of the box, but it doesn't > work as expected either. For instance to gather all the information to > write this tutorial, it took a long long time: > http://faqs.pcbsd.org/index.php?action=artikel&cat=9&id=294 > > Now, if we could create a database of monitors that, if during > installation, the person selects her brand and model of laptop, and > PC-BSD runs a specific shell script in the background to do the tweaks > necessary to fix little annoyances specific to this particular laptop, > it would be so much better. > > What do you think? > > I think all these issues you described are related to xorg configuration. Some we can find workarounds for, some we will have to wait for xorg to correct. Xorg is about to start a major revamp in terms of input/output device hotplugging and autoconfiguration so i guess we will have to go for the workarounds. I hope sometime next year i can plug/unplug mice, keyboards and even monitors without a X restart being necessary. |
From: Charles A. L. <lan...@gm...> - 2006-08-25 19:41:24
|
I was thinking about how tedious it is to set up a laptop, and how much time it takes searching on the Internet, on mailing lists and forums how to fix every bits of your laptop to have it to work properly. I don't mean it doesn't work out of the box, but it doesn't work as expected either. For instance to gather all the information to write this tutorial, it took a long long time: http://faqs.pcbsd.org/index.php?action=artikel&cat=9&id=294 Now, if we could create a database of monitors that, if during installation, the person selects her brand and model of laptop, and PC-BSD runs a specific shell script in the background to do the tweaks necessary to fix little annoyances specific to this particular laptop, it would be so much better. What do you think? -- Charles A. Landemaine. |
From: Andrei K. <an...@bs...> - 2006-08-25 18:59:41
|
On Friday 25 August 2006 4:34 pm, Federico Lorenzi wrote: > On Friday 25 August 2006 13:19, Andrei Kolu wrote: > > On Friday 25 August 2006 2:03 pm, Federico Lorenzi wrote: > > > On Friday 25 August 2006 10:02, Andrei Kolu wrote: > > > > On Friday 25 August 2006 8:18 am, Federico Lorenzi wrote: > > > > > On Thursday 24 August 2006 23:15, Andrei Kolu wrote: > > > > > > I found this interesting feature for /etc/devd.conf: > > > > > > ------------------------------------------------------------- > > > > > > attach 0 { > > > > > > device-name "umass0"; > > > > > > action "sleep 2 && test -c /dev/da0s1 && /sbin/mount_msdosfs -m > > > > > > 777 /dev/da0s1 /mnt/flash"; > > > > > > }; > > > > > > detach 0 { > > > > > > device-name "umass0"; > > > > > > action "umount -f /mnt/flash"; > > > > > > > > > > Just one problem... ATM we cant unmount a device after it has been > > > > > taken out, as it can cause file loss and the like. And if you do, > > > > > you are left with the entry still in /dev... Maybe a good thing to > > > > > find out is if there is a way to disable WB-caching for certain > > > > > disks? > > > > > > > > devd.conf is working on hardware level, this is not a plain script > > > > here. detach 0 command is exactly the way to prevent crashing if some > > > > device is removed. > > > > > > Just tested it now on 6.1-STABLE - Kernel seems to panic and the > > > machine reboots... > > > > Are you sure it is mounted in /mnt/flash? > > > > Show me /var/log/messages file. > > Yip, i checked and it mounted the drive fine, however when i unplugged it > AFAIK the kernel pancied... > Last lines of /var/log/messages > Aug 25 12:54:14 federico kernel: da0 at umass-sim0 bus 0 target 0 lun 0 > Aug 25 12:54:14 federico kernel: da0: <Generic USB Flash Disk 0.00> > Removable Direct Access SCSI-2 device > Aug 25 12:54:14 federico kernel: da0: 1.000MB/s transfers > Aug 25 12:54:14 federico kernel: da0: 250MB (512000 512 byte sectors: 64H > 32S/T 250C) > I ran devd in debugging mode, and it did all the right things.... Just > disconnecting it.... > > Cheers change "device-name "umass0";" to "device-name "umass-sim0";" |
From: Federico L. <flo...@gm...> - 2006-08-25 13:34:22
|
On Friday 25 August 2006 13:19, Andrei Kolu wrote: > On Friday 25 August 2006 2:03 pm, Federico Lorenzi wrote: > > On Friday 25 August 2006 10:02, Andrei Kolu wrote: > > > On Friday 25 August 2006 8:18 am, Federico Lorenzi wrote: > > > > On Thursday 24 August 2006 23:15, Andrei Kolu wrote: > > > > > I found this interesting feature for /etc/devd.conf: > > > > > ------------------------------------------------------------- > > > > > attach 0 { > > > > > device-name "umass0"; > > > > > action "sleep 2 && test -c /dev/da0s1 && /sbin/mount_msdosfs -m > > > > > 777 /dev/da0s1 /mnt/flash"; > > > > > }; > > > > > detach 0 { > > > > > device-name "umass0"; > > > > > action "umount -f /mnt/flash"; > > > > > > > > Just one problem... ATM we cant unmount a device after it has been > > > > taken out, as it can cause file loss and the like. And if you do, y= ou > > > > are left with the entry still in /dev... Maybe a good thing to find > > > > out is if there is a way to disable WB-caching for certain disks? > > > > > > devd.conf is working on hardware level, this is not a plain script > > > here. detach 0 command is exactly the way to prevent crashing if some > > > device is removed. > > > > Just tested it now on 6.1-STABLE - Kernel seems to panic and the machine > > reboots... > > Are you sure it is mounted in /mnt/flash? > > Show me /var/log/messages file. Yip, i checked and it mounted the drive fine, however when i unplugged it=20 AFAIK the kernel pancied... Last lines of /var/log/messages Aug 25 12:54:14 federico kernel: da0 at umass-sim0 bus 0 target 0 lun 0 Aug 25 12:54:14 federico kernel: da0: <Generic USB Flash Disk 0.00> Removab= le=20 Direct Access SCSI-2 device Aug 25 12:54:14 federico kernel: da0: 1.000MB/s transfers Aug 25 12:54:14 federico kernel: da0: 250MB (512000 512 byte sectors: 64H=20 32S/T 250C) I ran devd in debugging mode, and it did all the right things.... Just disconnecting it.... Cheers |
From: Andrei K. <an...@bs...> - 2006-08-25 11:19:33
|
On Friday 25 August 2006 2:03 pm, Federico Lorenzi wrote: > On Friday 25 August 2006 10:02, Andrei Kolu wrote: > > On Friday 25 August 2006 8:18 am, Federico Lorenzi wrote: > > > On Thursday 24 August 2006 23:15, Andrei Kolu wrote: > > > > I found this interesting feature for /etc/devd.conf: > > > > ------------------------------------------------------------- > > > > attach 0 { > > > > device-name "umass0"; > > > > action "sleep 2 && test -c /dev/da0s1 && /sbin/mount_msdosfs -m > > > > 777 /dev/da0s1 /mnt/flash"; > > > > }; > > > > detach 0 { > > > > device-name "umass0"; > > > > action "umount -f /mnt/flash"; > > > > > > Just one problem... ATM we cant unmount a device after it has been > > > taken out, as it can cause file loss and the like. And if you do, you > > > are left with the entry still in /dev... Maybe a good thing to find out > > > is if there is a way to disable WB-caching for certain disks? > > > > devd.conf is working on hardware level, this is not a plain script here. > > detach 0 command is exactly the way to prevent crashing if some device is > > removed. > > Just tested it now on 6.1-STABLE - Kernel seems to panic and the machine > reboots... Are you sure it is mounted in /mnt/flash? Show me /var/log/messages file. |
From: Federico L. <flo...@gm...> - 2006-08-25 11:03:37
|
On Friday 25 August 2006 10:02, Andrei Kolu wrote: > On Friday 25 August 2006 8:18 am, Federico Lorenzi wrote: > > On Thursday 24 August 2006 23:15, Andrei Kolu wrote: > > > I found this interesting feature for /etc/devd.conf: > > > ------------------------------------------------------------- > > > attach 0 { > > > device-name "umass0"; > > > action "sleep 2 && test -c /dev/da0s1 && /sbin/mount_msdosfs -m > > > 777 /dev/da0s1 /mnt/flash"; > > > }; > > > detach 0 { > > > device-name "umass0"; > > > action "umount -f /mnt/flash"; > > > > Just one problem... ATM we cant unmount a device after it has been taken > > out, as it can cause file loss and the like. And if you do, you are left > > with the entry still in /dev... Maybe a good thing to find out is if > > there is a way to disable WB-caching for certain disks? > > devd.conf is working on hardware level, this is not a plain script here. > detach 0 command is exactly the way to prevent crashing if some device is > removed. Just tested it now on 6.1-STABLE - Kernel seems to panic and the machine reboots... |
From: Andrei K. <an...@bs...> - 2006-08-25 08:02:10
|
On Friday 25 August 2006 8:18 am, Federico Lorenzi wrote: > On Thursday 24 August 2006 23:15, Andrei Kolu wrote: > > I found this interesting feature for /etc/devd.conf: > > ------------------------------------------------------------- > > attach 0 { > > device-name "umass0"; > > action "sleep 2 && test -c /dev/da0s1 && /sbin/mount_msdosfs -m > > 777 /dev/da0s1 /mnt/flash"; > > }; > > detach 0 { > > device-name "umass0"; > > action "umount -f /mnt/flash"; > > Just one problem... ATM we cant unmount a device after it has been taken > out, as it can cause file loss and the like. And if you do, you are left > with the entry still in /dev... Maybe a good thing to find out is if there > is a way to disable WB-caching for certain disks? > devd.conf is working on hardware level, this is not a plain script here. detach 0 command is exactly the way to prevent crashing if some device is removed. |
From: Federico L. <flo...@gm...> - 2006-08-25 05:18:05
|
On Thursday 24 August 2006 23:15, Andrei Kolu wrote: > I found this interesting feature for /etc/devd.conf: > ------------------------------------------------------------- > attach 0 { > device-name "umass0"; > action "sleep 2 && test -c /dev/da0s1 && /sbin/mount_msdosfs -m > 777 /dev/da0s1 /mnt/flash"; > }; > detach 0 { > device-name "umass0"; > action "umount -f /mnt/flash"; Just one problem... ATM we cant unmount a device after it has been taken out, as it can cause file loss and the like. And if you do, you are left with the entry still in /dev... Maybe a good thing to find out is if there is a way to disable WB-caching for certain disks? Cheers |
From: Andrei K. <an...@bs...> - 2006-08-24 21:15:47
|
I found this interesting feature for /etc/devd.conf: ------------------------------------------------------------- attach 0 { device-name "umass0"; action "sleep 2 && test -c /dev/da0s1 && /sbin/mount_msdosfs -m 777 /dev/da0s1 /mnt/flash"; }; detach 0 { device-name "umass0"; action "umount -f /mnt/flash"; ------------------------------------------------------------- It worked on 5.2 but haven't tested it in 6.1. |