molecularbear.com
域名年龄: 20年12个月4天HTTP/1.1 302 临时跳转 访问时间:2011年09月11日 00:29:46 目标网址:http://molecularbear.com/blog/ 动作:Accept-Encoding 文件大小:0 连接:关闭 类型:text/html 页面编码:UTF-8
Théoden's Coding Tips What is the house of Rohan but a thatched barn where brigands drink in the reek, and their brats roll on the floor with the dogs? Home About Geek Cred SciFi Leaderboard How to check RAID status on an Intel board May 10, 2011, 11:15 am I don’t want to dwell on how many hours I just wasted trying to get the status of an embedded RAID controller on an Intel S3420GP board running openSUSE 11.3. The solution is to avoid the dizzying array of software that Intel offers on their website, and instead use dmraid. My understanding of this is a little shaky, but first you need to know where the controller is mapped. After some poking around the system, I came across this: # ls -1 /dev/mapper control ddf1_MegaSR___R1__0 ddf1_MegaSR___R1__0_part1 ddf1_MegaSR___R1__0_part2 ddf1_MegaSR___R1__0_part3 I know my array has three partitions so it seemed intuitive that the device was named ddf1_MegaSR___R1__0. I was then able to get the status with: # dmraid -s ddf1_MegaSR___R1__0 *** Group superset .ddf1_disks --> Active Subset name : ddf1_MegaSR___R1__0 size : 623046656 stride : 128 type : mirror status : ok subsets: 0 devs : 2 spares : 0 Unbelievably simple after I had waded through failed attempts at using Intel’s RAID Web Console 2, Intel’s Extensible Firmware Interface (EFI), Intel’s Damn? Platform Control Command Line Interface (DPCCLI), Intel’s Active System Console (IASC), and who knows what else. Linux had the answer the entire time in a scriptable format. I’d feel bad for all that time I spent, except I’m too excited about finally being able to add this controller to the cronjob that tells me how my RAID arrays are doing every morning. Category: HOW-TOs, Linux | Comment How to combine/concatenate mp4 videos April 4, 2011, 3:10 pm In a project similar to the Blender Defender, I am using a Linksys WVC54GCA webcam to monitor my devious cats. The camera has built-in motion detection, and can automatically FTP video files of detected motion to a location of your choice. Unfortunately, the area I’m monitoring has a good deal of exposure to outside lighting, meaning that each day I get hundreds of little videos as light plays across the room. While messing with the motion sensitivity settings is next on my list, my immediate reaction was to figure out a way to combine the videos. The WVC54GCA lets you use a few different formats, but I chose mp4 since that seemed like the most open format. Some Google searching told me that I needed to use ffmpeg to convert the mp4s to mpg format which is supposedly “concatenatable”. So first I converted all my mp4s to mpgs (assuming they are stored in a directory called movie_dir): find movie_dir -name "*.mp4" -exec ffmpeg -i {} -sameq {}.mpg \; Many posts I found then said that all one needed to do was just cat the mpg files together and you’d end up with one long mpg. That sounded great, but in practice it produced an mp
© 2010 - 2020 网站综合信息查询 同IP网站查询 相关类似网站查询 网站备案查询网站地图 最新查询 最近更新 优秀网站 热门网站 全部网站 同IP查询 备案查询
2025-07-12 22:10, Process in 0.0082 second.