Re: Disk access is slowing my Eee PC

2008-08-28 Thread Yi Wang
On Fri, Aug 29, 2008 at 1:07 AM, Lars Stokholm [EMAIL PROTECTED] wrote:
 Hi,

 I've successfully installed FreeBSD 7-STABLE on my Eee PC 900. Just
 one problem. Quite regularly the machine becomes unresponsive. I asume
 because of something reading from or writing from the SSD, because it
 always happens when the disk activity indicator is lit and it stops
 immediately when it's turned off again. Sometimes it lasts as long as
 20-30 seconds, just when using Firefox, OOo or similar.

 Any ideas on how to deal with this? And just as interresting; what's the 
 cause?
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]


Does original OS has the same performance?

I installed 7-stable on it. works fine.

-- 
Regards,
Wang Yi
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: chmod operation on directories / files

2008-05-07 Thread Yi Wang
sorry, I forgot to reply to all.

for directorys, you can use:
chmod 755 */

if the files have a suffix. you can use
chmod 644 *.*

for the files don't have the suffix, I guess a regex should solve it.
But I'm not familiar with regex. :-)

On 5/7/08, Catalin Miclaus [EMAIL PROTECTED] wrote:
 -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] On Behalf Of Zbigniew
  Szalbot
  Sent: Wednesday, May 07, 2008 12:57 PM
  To: freebsd-questions@freebsd.org
  Subject: chmod operation on directories / files

  Hello,

  How do I chmod separately files and directories?

  If I use chmod -R 644 then it will go through all the subdirectories
  assigning everything 644 permissions, directories including.

  Many thanks!

  --
  Zbigniew Szalbot
  www.lc-words.com





 find /test -type f -exec chmod 644 {} \;

  Replace /test with full path to your directory.
  For directories use '-type d'.




  Best Regards

 Catalin Miclaus
  Network/Security ISP-Data
  Starcomms Ltd.


  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to [EMAIL PROTECTED]



-- 
Regards,
Wang Yi
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mount ntfs-3g

2007-12-25 Thread Yi Wang
Please read this mail:
http://lists.freebsd.org/pipermail/freebsd-ports/2007-November/045153.html

On 12/24/07, Daniel Rucci [EMAIL PROTECTED] wrote:
 Hi,
 I'm trying to mount an ntfs-3g partition but get an error when using
 mount.

 mount -t ntfs-3g /dev/ad6s1 /win
 mount: /dev/ad6s1 : Operation not supported by device

 if i use mount_ntfs-3g ... it works fine but that won't help me with
 respect to mounting during boot.

 Is there anything special that needs to be done to get a non standard
 mount_* command to work via mount? I read somewhere to add a symlink to
 mount_ntfs-3g to /sbin/ but that did not seem to do anything.

 Thanks,
 Dan


 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]



-- 
Regards,
Wang Yi
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Mounting Western Digital USB drive?

2007-12-12 Thread Yi Wang
Try mount_ntfs /dev/da0 /mnt

some usb disk doesn't have s1 postfix.

On 12/12/07, Patrick Baldwin [EMAIL PROTECTED] wrote:
 Hi, I'm trying to mount a 160 GB Western Digital USB 2.0 drive on a
 FreeBSD 6.2 system.  This seemed like it should be relatively simple,
 but:

 webmail# mount /dev/da0s1 /mnt/usbdrive
 mount: /dev/da0s1 on /mnt/usbdrive: incorrect super block

 OK, it seemed a good chance the USB drive was formatted with NTFS, so I
 tried:

 webmail# mount_ntfs /dev/da0s1 /mnt/usbdrive
 mount_ntfs: /dev/da0s1: Invalid argument

 Further reading on mount_ntfs suggested that even if I got it to
 work, it's not quite what I want:  I want read  write access
 with compressed files supported.

 dmesg:
 umass0: Western Digital External HDD, rev 2.00/1.04, addr 2
 da0 at umass-sim0 bus 0 target 0 lun 0
 da0: WD 1600BEV External 1.04 Fixed Direct Access SCSI-4 device
 da0: 40.000MB/s transfers
 da0: 152627MB (312581808 512 byte sectors: 255H 63S/T 19457C)

   usbdevs -v
 Controller /dev/usb0:
 addr 1: full speed, self powered, config 1, UHCI root hub(0x),
 Intel(0x), rev 1.00
   port 1 powered
   port 2 powered
 Controller /dev/usb1:
 addr 1: full speed, self powered, config 1, UHCI root hub(0x),
 Intel(0x), rev 1.00
   port 1 powered
   port 2 powered
 Controller /dev/usb2:
 addr 1: high speed, self powered, config 1, EHCI root hub(0x),
 Intel(0x), rev 1.00
   port 1 addr 2: high speed, self powered, config 1, External
 HDD(0x0702), Western Digital(0x1058), rev 1.04
   port 2 powered
   port 3 powered
   port 4 powered

 Any help appreciated.






 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]



-- 
Regards,
Wang Yi
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]